package com.pengcheng.taskapplication.mvp.view.activity;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.pengcheng.taskapplication.R;
import com.pengcheng.taskapplication.contants.ConstantValue;

import butterknife.BindView;
import butterknife.OnClick;

public class PaySettingActivity extends BaseActivity {
    @BindView(R.id.tv_center_title)
    TextView tv_title;

    @Override
    protected int layoutResID() {
        return R.layout.activity_pay_setting;
    }

    @Override
    protected void initData() {
        tv_title.setText("支付设置");
    }


    @OnClick({R.id.img_back,R.id.rl_mfzf,R.id.rl_mfjexg,R.id.rl_wjmi,R.id.zhmi,R.id.rl_kksx,R.id.rl_jbyhk})
    public void onViewClicked(View view) {
        Intent intent;
        switch (view.getId()) {
            case R.id.img_back:
                finish();
                break;


            case R.id.rl_mfzf:
                //免密支付/自动扣款
                intent =new Intent(context,OpenPayWithNoPwd.class);
                startActivity(intent);
                break;
            case R.id.rl_mfjexg:
                //免密支付金额修改
                intent =new Intent(context,UpdateLimitMoney.class);
                startActivity(intent);
                break;

            case R.id.rl_wjmi:
                //忘记密码 设置密码
                intent =new Intent(context,ReSetPassword.class);
                startActivity(intent);

                break;
            case R.id.zhmi:
                //找回密码
                intent =new Intent(context,SetPassword.class);
                startActivity(intent);
                break;
            case R.id.rl_kksx:
                //扣款顺序
                intent =new Intent(context,PaySortActivity.class);
                startActivity(intent);

                break;


            case R.id.rl_jbyhk:
                //解绑银行卡
                intent =new Intent(context,MyWalletBankList.class);
                startActivity(intent);

                break;
        }
    }
}
